package com.qf.stock.mapper;

import org.apache.ibatis.annotations.Update;

public interface StockMapper {

    @Update("update tb_stock set stock = stock - 1 where id = 1")
    void decr();
}
